<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        const code1=`
         function add(a,b){
           return a+b
         }
           export {add}
        `
        const url =URL.createObjectURL(new Blob(code1),{type:'application/javascript'})
    </script>
</body>
</html>